package site.xuqing.androidbase.net.flash;

import androidx.annotation.NonNull;

/**
 * @author xuqing
 * @Description TODO
 * @createTime 2022年01月12日 10:16:32
 */
public class FlashViewFactory {
    public static @NonNull IFlashViewManager create(FlashViewType flashViewType){
        switch (flashViewType){
            case Swipefreshlayout:
                return new SwipeFreshLayoutManager();
            default:
        }
        return new SwipeFreshLayoutManager();
    }
    
    public enum FlashViewType{
        /**
         * 系统刷新控件
         */
        Swipefreshlayout
    }
}
